﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PMS.Models.Work
{
    ///<summary>
    ///学生表的实体类
    ///</summary>
    [Serializable]
    [Table("StudentInfo")]
    public class StudentInfo
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        [Column("Id")]
        public int Id { get; set; }
        /// <summary>
        /// 学生姓名
        /// </summary>
        [Column("StudentName")]
        public string StudentName { get; set; }
        /// <summary>
        /// 出生年月
        /// </summary>
        [Column("Birthday")]
        public System.DateTime Birthday { get; set; }
        /// <summary>
        /// 性别 1表示男 0 表示女
        /// </summary>
        [Column("Sex")]
        public int Sex { get; set; }
        /// <summary>
        /// 民族
        /// </summary>
        [Column("Nationality")]
        public string Nationality { get; set; }
        /// <summary>
        /// 籍贯,户口所在地
        /// </summary>
        [Column("AccountAddress")]
        public string AccountAddress { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        [Column("IdCard")]
        public string IdCard { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        [Column("Phone")]
        public string Phone { get; set; }
        /// <summary>
        /// 户口所在地
        /// </summary>
        [Column("AccountSite")]
        public string AccountSite { get; set; }
        /// <summary>
        /// 现住址
        /// </summary>
        [Column("Address")]
        public string Address { get; set; }
        /// <summary>
        /// 免冠照片
        /// </summary>
        [Column("CrownPhoto")]
        public string CrownPhoto { get; set; }
        /// <summary>
        /// 删除标识1表示删除0表示未删除
        /// </summary>
        [Column("IsDel")]
        public int IsDel { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        [Column("CreateBy")]
        public int CreateBy { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("CreateDate")]
        public System.DateTime CreateDate { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        [Column("ModifyBy")]
        public int ModifyBy { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        [Column("ModifyDate")]
        public System.DateTime ModifyDate { get; set; }
        /// <summary>
        /// 删除人
        /// </summary>
        [Column("DeleteBy")]
        public int DeleteBy { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        [Column("DeleteDate")]
        public System.DateTime DeleteDate { get; set; }
    }
}